package com.xlhj.elastic.service.impl;

import com.xlhj.elastic.dao.EsUserDao;
import com.xlhj.elastic.entity.SysUser;
import com.xlhj.elastic.service.EsUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: liucaijing
 * @description: Es用户信息业务接口实现类
 * @date: 2021/5/11 15:05
 */
@Service
public class EsUserServiceImpl implements EsUserService {

    @Autowired
    private EsUserDao userDao;

    @Override
    public void saveEsUser(SysUser user) {
        SysUser userInfo = userDao.save(user);
        System.out.println(userInfo);
    }
}
